DEADLOCKS
How can deadlocks be prevented